<template>
	<view class="bottom_btn">
		<view class="btn" @click="to">{{text}}</view>
	</view>
</template>

<script>
	export default {
		name:"bottom_btn",
		props:{
			text:{
				default:'确定'
			}
		},
		data() {
			return {
				
			};
		},
		methods:{
			to(){
				this.$emit('click')
			}
		}
	}
</script>

<style lang="scss" scoped>
.bottom_btn{
	width: 750rpx;
	height: 190rpx;
	background: #FFFFFF;
	box-shadow: inset 0rpx 1rpx 0rpx 0rpx #EBEBEB;
	overflow: hidden;
	position: fixed;
	bottom: 0;
	.btn{
		display: flex;
		align-items: center;
		justify-content: center;
		width: 686rpx;
		height: 96rpx;
		background: $uni-primary;
		border-radius: 48rpx;
		margin: 20rpx auto 0;
		text-align: center;
		font-size: 28rpx;
		font-weight: 500;
		color: #FFFFFF;
	}
}
</style>